package spec.asumuliu.unit5.mystack;

public class MyStackTest {
    public static void main(String[] args) {
        MyStack stack=new MyStack();
        stack.push("王小二");
        stack.push("张小三");
        stack.push("李小四");
        System.out.println("出栈元素："+stack.pop());
        System.out.println("出栈元素："+stack.pop());
        System.out.println("栈是否为空："+stack.empty());

    }
}
